package com.ssd.entity.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Null;

@Data
@ApiModel("运营端优惠券查询模型")
public class CouponOperationPageQueryReqDTO {
    @ApiModelProperty(value = "活动id", required = true)
    @Null(message = "请先选择活动")
    private Long activityId;

    @ApiModelProperty("页码数")
    private Long pageNum = 1L;
    @ApiModelProperty("每页条数")
    private Long pageSize = 5L;
}
